import Vue from 'vue'
import Vuex from 'vuex'
import createLogger from 'vuex/dist/logger'
import lottery from './modules/lottery'
// import state from './state'
// import mutations from './mutations'
// import * as getters from './getters'
// import * as actions from './actions'

Vue.use(Vuex)

const debug = process.env.NODE_ENV !== 'production'

export default new Vuex.Store({
    // state,
    // getters,
    // mutations,
    // actions,
    // strict: debug,
    modules: {
        lottery
    },
    plugins: debug ? [createLogger()] : []
})